import 'package:fish_redux/fish_redux.dart';

enum EngineerOrderViewAction {
  action,
  onSetStep,
  onTapAddPic,
  onTapPic,
  onTapAddPic2,
  onTapPic2,
  onSubmit,
}

class EngineerOrderViewActionCreator {
  static Action onAction() {
    return const Action(EngineerOrderViewAction.action);
  }

  static Action onSetStep(step) {
    return Action(EngineerOrderViewAction.onSetStep, payload: step);
  }

  static Action onTapAddPic() {
    return const Action(EngineerOrderViewAction.onTapAddPic);
  }

  static Action onTapPic(data) {
    return Action(EngineerOrderViewAction.onTapPic, payload: data);
  }

  static Action onTapAddPic2() {
    return const Action(EngineerOrderViewAction.onTapAddPic2);
  }

  static Action onTapPic2(data) {
    return Action(EngineerOrderViewAction.onTapPic2, payload: data);
  }

  static Action onSubmit() {
    return const Action(EngineerOrderViewAction.onSubmit);
  }
}
